config BR2_PACKAGE_PULSEVIEW
	bool "pulseview"
	depends on BR2_PACKAGE_QT5
	# libsigrok->libglib2:
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU
	depends on BR2_INSTALL_LIBSTDCPP
	# libsigrok->libzip
	depends on !BR2_STATIC_LIBS
	# libsigrok
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
	select BR2_PACKAGE_LIBSIGROK
	select BR2_PACKAGE_LIBSIGROKCXX
	select BR2_PACKAGE_QT5BASE_WIDGETS
	select BR2_PACKAGE_QT5BASE_PNG
	select BR2_PACKAGE_QT5SVG
	select BR2_PACKAGE_BOOST
	select BR2_PACKAGE_BOOST_FILESYSTEM
	select BR2_PACKAGE_BOOST_SYSTEM
	select BR2_PACKAGE_BOOST_THREAD
	select BR2_PACKAGE_BOOST_SERIALIZATION
	help
	  PulseView is a Qt based logic analyzer, oscilloscope
	  and MSO GUI for sigrok.

	  http://sigrok.org/wiki/PulseView

comment "pulseview needs a toolchain w/ wchar, threads, dynamic library, C++, gcc >= 4.9"
	depends on BR2_USE_MMU
	depends on BR2_PACKAGE_QT5
	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
